/**
 * 
 */
package com.wolfware.athsweb.service;

import java.util.Date;
import java.util.List;

import com.wolfware.athsweb.domain.AbstractCompetitionResult;
import com.wolfware.athsweb.domain.AbstractEvent;
import com.wolfware.athsweb.response.Response;

/**
 * @author Christian
 *
 */
public interface CompetitionService {

	/**
	 * 
	 * @param compName
	 * @param compDate
	 * @param compEventList
	 * @return
	 */
	Response submitNewCompetition(String compName, Date compDate, List<AbstractEvent> compEventList);
	
    /**
     * 
     * @return
     */
    List<AbstractCompetitionResult> retrieveAllCompetitionResults();
    
    /**
     * 
     * @return
     */
    List<AbstractCompetitionResult> retrieveCompetitionResultsByCompetitorID();
    
    /**
     * 
     * @return
     */
    List<AbstractCompetitionResult> retrieveCompetitionResultsByCompetitionID();

}
